package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文档数据管理对象 data
 * 
 * @author ruoyi
 * @date 2025-03-22
 */
public class Data extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 文档数据表ID */
    private Long dataId;

    /** 文档表ID */
    @Excel(name = "文档表ID")
    private Long documentId;

    /** 问题 */
    @Excel(name = "问题")
    private String question;

    /** 答案 */
    @Excel(name = "答案")
    private String answer;

    /** 审核状态（0:待审, 1:不通过, 2:通过） */
    @Excel(name = "审核状态", readConverterExp = "0=:待审,,1=:不通过,,2=:通过")
    private Integer auditStatus;

    /** 审核意见（多行文本） */
    @Excel(name = "审核意见", readConverterExp = "多=行文本")
    private String auditOpinion;

    /** 审核评分 */
    @Excel(name = "审核评分")
    private Long auditScore;

    public void setDataId(Long dataId) 
    {
        this.dataId = dataId;
    }

    public Long getDataId() 
    {
        return dataId;
    }

    public void setDocumentId(Long documentId) 
    {
        this.documentId = documentId;
    }

    public Long getDocumentId() 
    {
        return documentId;
    }

    public void setQuestion(String question) 
    {
        this.question = question;
    }

    public String getQuestion() 
    {
        return question;
    }

    public void setAnswer(String answer) 
    {
        this.answer = answer;
    }

    public String getAnswer() 
    {
        return answer;
    }

    public void setAuditStatus(Integer auditStatus) 
    {
        this.auditStatus = auditStatus;
    }

    public Integer getAuditStatus() 
    {
        return auditStatus;
    }

    public void setAuditOpinion(String auditOpinion) 
    {
        this.auditOpinion = auditOpinion;
    }

    public String getAuditOpinion() 
    {
        return auditOpinion;
    }

    public void setAuditScore(Long auditScore) 
    {
        this.auditScore = auditScore;
    }

    public Long getAuditScore() 
    {
        return auditScore;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dataId", getDataId())
            .append("documentId", getDocumentId())
            .append("question", getQuestion())
            .append("answer", getAnswer())
            .append("auditStatus", getAuditStatus())
            .append("auditOpinion", getAuditOpinion())
            .append("auditScore", getAuditScore())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
